AI CodeX CLI

Purpose: generate AI_CodeX_Overlay.md for a paper by summarizing it, searching local memory, and emitting an Obsidian-style overlay.

Files

  • ai_codex_cli.py: CLI entrypoint
  • prompt_schema.json: default prompt schema used by the CLI

Quick start

python 05_INTERNAL\AI_CodeX\ai_codex_cli.py --input 05_ACADEMIA\FORMAL_THESIS_Moral_Coherence_Analysis.md --memory-source 05_ACADEMIA\Notes\06_Working_Notes

Notes

  • If --input is a folder, the CLI scans *.md and *.txt.
  • To avoid overwriting when a folder contains multiple files, the CLI uses AI_CodeX_Overlay_<basename>.md unless you set --output-name.
  • --memory-source can be a folder of .md/.txt files or a .jsonl file.
  • Add --log-meta-index to append a connection record to a meta_index.md.

Canonical Hub: CANONICAL_INDEX

Ring 2 — Canonical Grounding

Ring 3 — Framework Connections